package com.ishowcode.mappers;
import com.ishowcode.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper {
    public List<Message> getAllMessageById(String userId);
    public Integer addMessage(Message message);
    public Integer deleteMessage(String messageId);
}
